// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import 'vue-beauty/package/style/vue-beauty.min.css'
import vueBeauty from 'vue-beauty'
Vue.use(vueBeauty)

// vue全局使用axios
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios,axios);

import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

import VueCookie from 'vue-cookie'
Vue.use(VueCookie)

import clipboard from 'clipboard'
Vue.prototype.clipboard = clipboard

import searchBox from './components/common/searchBox/searchBox.vue'
Vue.component('search-box', searchBox)

import itemCard from './components/common/itemCard/itemCard.vue'
Vue.component('item-card', itemCard)

import itemCardRow from './components/common/itemCard/itemCardRow.vue'
Vue.component('item-card-row', itemCardRow)

import jpItemCard from './components/common/itemCard/jpItemCard.vue'
Vue.component('jp-item-card', jpItemCard)

import jhsItemCard from './components/common/itemCard/jhsItemCard.vue'
Vue.component('jhs-item-card', jhsItemCard)

import home from './components/common/home/home.vue'
Vue.component('home', home)

import returnBack from './components/common/returnBack/returnBack.vue'
Vue.component('return-back', returnBack)

import leilProgressBar from './components/common/progressBar/progressBar.vue'
Vue.component('leil-progress-bar', leilProgressBar)

Vue.config.productionTip = false



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
